package rtc.core.net.rpc;


import java.util.HashMap;

/**
 * Created by Dell on 2017/7/7 0007.
 */

public class RpcMap extends HashMap<String,Object> {

    public static RpcMap create(){
        return new RpcMap();
    }

    public static RpcMap create(String key, Object value){
        RpcMap map = create();
        return map.add(key,value);
    }

    public RpcMap add(String key, Object value){
        put(key,value);
        return this;
    }
}
